package com.ys.peony.model;

import java.io.Serializable;

/**
 * describe:身份证正反面
 * author:zhangcong
 * date:2017/6/1 22:11
 */
public class IDCardFrontModel extends FaceBaceResponse implements Serializable {

    private static final long serialVersionUID = -5085211288358508804L;

    //用于区分每一次请求的唯一的字符串
    private String request_id;

    //整个请求所花费的时间，单位为毫秒
    private Float time_used;
    //住址
    private String address;

    //生日，下分年月日，都是一个字符串
    private String birthday;

    //性别（男/女）
    private String gender;

    //身份证号
    private String id_card_number;

    //姓名
    private String name;

    //民族（汉字）
    private String race;

    //front：表示身份证的人像面,back：表示身份证的国徽面
    private String side;

    //签发机关
    private String issued_by;

    //有效日期，格式为一个16位长度的字符串，表示内容如下YYYY.MM.DD-YYYY.MM.DD，或是YYYY.MM.DD-长期
    private String valid_date;

    //身份证中人脸框的位置，分别包含左上、右上、右下、左下四个角点。可能会超过图本身。
    private String head_rect;

    private String legality;

    public String getRequest_id() {
        return request_id;
    }

    public void setRequest_id(String request_id) {
        this.request_id = request_id;
    }

    public Float getTime_used() {
        return time_used;
    }

    public void setTime_used(Float time_used) {
        this.time_used = time_used;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getId_card_number() {
        return id_card_number;
    }

    public void setId_card_number(String id_card_number) {
        this.id_card_number = id_card_number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRace() {
        return race;
    }

    public void setRace(String race) {
        this.race = race;
    }

    public String getSide() {
        return side;
    }

    public void setSide(String side) {
        this.side = side;
    }

    public String getIssued_by() {
        return issued_by;
    }

    public void setIssued_by(String issued_by) {
        this.issued_by = issued_by;
    }

    public String getValid_date() {
        return valid_date;
    }

    public void setValid_date(String valid_date) {
        this.valid_date = valid_date;
    }

    public String getHead_rect() {
        return head_rect;
    }

    public void setHead_rect(String head_rect) {
        this.head_rect = head_rect;
    }

    public String getLegality() {
        return legality;
    }

    public void setLegality(String legality) {
        this.legality = legality;
    }

    @Override
    public String toString() {
        return "IDCardFrontModel{" +
                "request_id='" + request_id + '\'' +
                ", time_used=" + time_used +
                ", address='" + address + '\'' +
                ", birthday='" + birthday + '\'' +
                ", gender='" + gender + '\'' +
                ", id_card_number='" + id_card_number + '\'' +
                ", name='" + name + '\'' +
                ", race='" + race + '\'' +
                ", side='" + side + '\'' +
                ", issued_by='" + issued_by + '\'' +
                ", valid_date='" + valid_date + '\'' +
                ", head_rect='" + head_rect + '\'' +
                ", legality='" + legality + '\'' +
                '}';
    }
}
